import { request } from "@/request";

//1.请求一级列表
export const reqCategory1List=()=>{
    return request.get(`/admin/product/getCategory1`)
}

//2.请求二级列表
export const reqCategory2List=(category1Id)=>{
    return request.get(`/admin/product/getCategory2/${category1Id}`)
}

//3.请求三级列表
export const reqCategory3List=(category2Id)=>{
    return request.get(`/admin/product/getCategory3/${category2Id}`)
}
    
